/* 头部 */
.head{
    position: static;
    .head-nav{
        a{
            color: #181818;
        }
        .active {
            font-size: 16px;
            color: #00bdff;
            border-bottom: 2px solid #00bdff;
        }
    }
    .sign{
        a{
            color: #666;
            border-color: #d1d1d1;
        }
    }

}

.assort{
    .API-assort{
        p{
            font-size: 28px;
            color: #3d3e3e;
            line-height: 74px;
            margin-top: 26px;
        }
    }
    .tag-assort{
        a{
            display: inline-block;
            padding: 0 15px;
            font-size: 14px;
            color: #666;
            line-height: 24px;
            border: 1px solid #ddd;
            margin-right: 10px;
            margin-bottom: 10px;
            border-radius: 10px;
            cursor: pointer;

            &:hover{
                border-color: #00bdff;
                color: #00bdff;
            }
        }
        .active{
            font-weight: 700;
        }
    }
    .search-assort{
        line-height: 30px;
        margin-bottom: 23px;
        .desc{
            font-size: 14px;
            color: #3d3e3e;
            font-weight: bold;
        }
        .search{
            position: relative;
            margin-left: 20px;  

            input{
                width: 230px;
                height: 30px;
                background-color: #f4f4f4;
                // 这里不用缩进,当文字占满input
                // 框时,文字会向左移
                // text-indent: 16px;
                font-size: 12px;
                border-radius: 16px;
                color: #666;
                border: 0;
                padding-right: 35px;
                padding-left: 15px;
            }
            img{
                position: absolute;
                right: 10px;
                top: 8px;
                cursor: pointer;

            }
        }
    }
    .list-assort{
        ul{
            li{
                overflow: hidden;
                position: relative;
                float: left;
                width: 228px;
                height: 270px;
                font-size: 12px;
                border: 1px solid #eee;
                margin-right: 10px;
                margin-bottom: 10px;


                span{
                    position: absolute;
                    top: 10px;
                    left: 10px;
                    width: 58px;
                    display: none;
                    height: 22px;
                    line-height: 22px;
                    color: #00bdff;
                    background-color: #e5f8ff;
                }
                .isShow{
                    display: block;
                }
                .center{
                    position: relative;
                    top: 0;
                    padding-top: 58px;
                    line-height: 24px;
                    transition: all 0.3s linear;
                    a{
                        display: inline-block;
                        p:nth-of-type(1){
                            font-size: 12px;
                            color: #666;
                            line-height: 24px;
                        }
                        p:nth-of-type(2n){
                            font-size: 12px;
                            line-height: 24px;
                            margin-top: 0;
                        }
                        .green{
                            color: green;
                        }
                        .red{
                            color: #FF7587!important;
                        }
                    }

                }
                .play-data{
                    position: absolute;
                    display: inline-block;
                    text-align: center;
                    width: 192px;
                    height: 32px;
                    left: 50%;
                    transform: translateX(-50%);
                    line-height: 32px;
                    bottom: -34px;
                    color: #fff;
                    opacity: 0;
                    background-color: #00bdff;
                    cursor: pointer;
                    opacity: 0;
                    transition: all 0.3s linear;
                }

                &:hover .play-data{
                    bottom: 15px;
                    opacity: 1;
                }
                &:hover .center{
                    top: -20px;
                }

            }
        }
    }
    .page-assort{
        position: relative;
        height: 24px;
        line-height: 24px;
        margin-top: 41px;
        padding-bottom: 69px;
        .page{
            position: absolute;
            left: 50%;
            transform: translateX(-50%);
            a{
                float: left;
                color: #000;
                width: 24px;
                height: 24px;
                margin-right: 15px;
                text-align: center;
                cursor: pointer;
            }
            .active{
                border-radius: 50%;
                background-color: #00bdff;
                color: #fff;
            }
            .next-page{
                color: #00bdff;
                cursor: pointer;
                width: 55px;
            }
        }
    }
}

/* 尾部 */
.foot{
    background-color: #f8f8f8;
}

// 蒙层和模态框

html{
    width: 100%;
    height: 100%;
    body{
        width: 100%;
        height: 100%;
        #mask{
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.11);
            position: fixed;
            top: 0;
            left: 0;
            display: none;
            #frame{
                position: absolute;
                left: 50%;
                top: 50%;
                width: 400px;
                height: 550px;
                background-color: #fff;
                transform: translate(-50%,-50%);
                z-index: 100;
                padding: 20px;
                .logo-box{
                    width: 195px;
                    height: 50px;
                    padding-top: 5px;
                    margin: 0 auto;
                    margin-bottom: 28px;
                }
                .tab{
                    .tab-top{
                        line-height: 44px;
                        margin-bottom: 36px;
                        margin-left: 65px;
                        font-size: 16px;
                        color: #555;
                        li{
                            float: left;
                        }
                        .tab-active{
                            position: relative;
                            color: #00bdff;
                            &::after{
                                content: "";
                                position: absolute;
                                bottom: 0;
                                left: 5px;
                                width: 43px;
                                height: 3px;
                                background-color: #00bdff;
                            }
                        }
                        .top-item{
                            cursor: pointer;
                        }
                        span{
                            float: left;
                            width: 2px;
                            height: 12px;
                            background-color: #eee;
                            margin: 0 30px;
                            margin-top: 16px;
                        }
                        .top-item2{
                            cursor: pointer;
                        }

                    }
                    .tab-content{
                        .con-item{
                            display: none;
                            .user-name{
                                position: relative;
                                margin-bottom: 26px;
                                height: 31px;
                                line-height: 24px;
                                padding-bottom: 9px;
                                padding-left: 32px;
                                border-bottom: 1px solid #e7e7e7;
                                background: url(../imgs/loginIcon.png) no-repeat -52px -1px;
                                input{
                                    width: 296px;
                                    line-height: 24px;
                                    font-size: 12px;
                                    border: 0;
                                }
                                img{
                                    position: absolute;
                                    cursor: pointer;
                                    display: none;
                                    right: 5px;
                                    top: 8px;
                                }
                                .userTips{
                                    color: red;
                                    position: absolute;
                                    top: 34px;
                                    left: 30px;
                                }
                            }
                            .user-pwd{
                                position: relative;
                                margin-bottom: 26px;
                                height: 31px;
                                line-height: 24px;
                                padding-bottom: 9px;
                                padding-left: 32px;
                                border-bottom: 1px solid #e7e7e7;
                                background: url(../imgs/loginIcon.png) no-repeat -24px -1px;
                                input{
                                    width: 296px;
                                    line-height: 24px;
                                    font-size: 12px;
                                    border: 0;
                                }
                                img{
                                    position: absolute;
                                    right: 5px;
                                    top: 8px;
                                    cursor: pointer;
                                    display: none;
                                }
                                .pwdTips{
                                    color: red;
                                    position: absolute;
                                    top: 34px;
                                    left: 30px;
                                }
                            }
                            .forget{
                                line-height: 52px;
                                font-size: 14px;
                                a{
                                    color: #00bdff;
                                }
                                .login-btn{
                                    width: 360px;
                                    height: 46px;
                                    background-color: #03c5ff;
                                    cursor: pointer;
                                    color: #fff;
                                    font-size: 16px;
                                    border: 0;
                                }
                                .not{
                                    position: relative;
                                    text-align: right;
                                    width: 290px;
                                    // 设置了宽度margin: 0 auto才奏效
                                    margin: 0 auto;
                                    a{
                                        margin-right: 5px;
                                    }
                                    span{
                                        position: absolute;
                                        display: inline-block;
                                        width: 15px;
                                        height: 21px;
                                        background: url(../imgs/loginIcon.png) no-repeat -56px -31px;
                                        top: 13px;
                                        
                                    }
                                }
                            }

                        }
                        .on{
                            display: block!important;
                        }
                        .wechat-code{
                            display: none;
                            .code-content{
                                width: 290px;
                                height: 241px;
                                background-color: #fcfcfc;
                                border: 1px solid #eee;
                                padding-top: 30px;
                                text-align: center;
                                font-size: 14px;
                                margin: 0 auto;
                                img{
                                    width: 120px;
                                    height: 120px;
                                    margin-bottom: 5px;
                                }
                                p{
                                    line-height: 30px;
                                }
                            }
                            .not{
                                position: relative;
                                text-align: left;
                                width: 290px;
                                // 设置了宽度margin: 0 auto才奏效
                                margin: 0 auto;
                                line-height: 55px;
                                a{
                                    margin-right: 5px;
                                }
                                span{
                                    position: absolute;
                                    display: inline-block;
                                    width: 15px;
                                    height: 21px;
                                    background: url(../imgs/loginIcon.png) no-repeat -56px -31px;
                                    top: 13px;
                                    
                                }
                            }
                        }

                    }
                }
            }
        }
    }
}
